﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="ihongma.Web.UI.Page.index" ValidateRequest="false" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="ihongma.Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by ihongma Template Engine at 2013/6/26 17:12:39.
		本页面代码由ihongma模板引擎生成于 2013/6/26 17:12:39. 
	*/

	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);
get_cache_html("index");

	templateBuilder.Append("<!DOCTYPE HTML>\r\n<html lang=\"zh-cn\">\r\n<head>\r\n<meta charset=\"utf-8\" />\r\n<title>");
	templateBuilder.Append(config.webtitle);
	templateBuilder.Append("</title>\r\n");
	int channel_id = 0;
	

	templateBuilder.Append("\r\n<meta name=\"description\" content=\"");
	templateBuilder.Append(config.webdescription);
	templateBuilder.Append(" \" />\r\n<meta name=\"keywords\" content=\"");
	templateBuilder.Append(config.webkeyword);
	templateBuilder.Append(" \" />\r\n<meta content=\"Copyright 2012 ihongma.com\" name=\"copyright\" />\r\n<link rel=\"shortcut icon\" href=\"/favicon.ico\" />\r\n<link rel=\"stylesheet\" href=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/css/global.css\" type=\"text/css\" media=\"screen\" />\r\n<script type=text/javascript src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/js/jquery-1.7.1.min.js\"></");
	templateBuilder.Append("script>\r\n\r\n<!--[if lt IE 9]><script src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/js/html5.js\"></");
	templateBuilder.Append("script><![endif]-->\r\n<!--png图片-->\r\n<!--[if lte IE 6]>\r\n<script src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/js/DD_belatedPNG_0.0.7a.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script><script type=\"text/javascript\">\r\nDD_belatedPNG.fix('h1, a, h2, h3, div, img, .guideDiv ');\r\n</");
	templateBuilder.Append("script>\r\n<![endif]-->\r\n</head>\r\n<body>\r\n\r\n ");

	templateBuilder.Append("<div class=\"t_container\">\r\n  <div class=\"t_topin\">\r\n    <h1><a href=\"/index.aspx\" title=\"鸿马网\">鸿马网</a></h1>    \r\n    <script type=\"text/javascript\">\r\n        $(document).ready(function () {\r\n            $(\".dropdown img.flag\").addClass(\"flagvisibility\");\r\n\r\n            $(\".dropdown dt a\").click(function () {\r\n                $(\".dropdown dd ul\").toggle();\r\n            });\r\n\r\n            $(\".dropdown dd ul li a\").click(function () {\r\n                var text = $(this).html();\r\n                $(\".dropdown dt a span\").html(text);\r\n                $(\".dropdown dd ul\").hide();\r\n                $(\"#result\").html(getSelectedValue(\"sample\"));\r\n            });\r\n\r\n            function getSelectedValue(id) {\r\n                return $(\"#\" + id).find(\"dt a span.value\").html();\r\n            }\r\n\r\n            $(document).bind('click', function (e) {\r\n                var $clicked = $(e.target);\r\n                if (!$clicked.parents().hasClass(\"dropdown\"))\r\n                    $(\".dropdown dd ul\").hide();\r\n            });\r\n\r\n\r\n            $(\"#flagSwitcher\").click(function () {\r\n                $(\".dropdown img.flag\").toggleClass(\"flagvisibility\");\r\n            });\r\n        });\r\nfunction submitTest() {\r\n            if ($(\"#d_search\").val() == \"\")\r\n            { return false; }\r\n            else {\r\n                return true;\r\n            }\r\n        }\r\n    </");
	templateBuilder.Append("script>\r\n    <div class=\"t_search_wrapper\">\r\n      <div class=\"t_search_bg\">\r\n        <div class=\"t_search\">\r\n        <form method=\"get\"  action=\"/search.aspx\"   onsubmit='return submitTest()'>\r\n          <div class=\"t_search_left\">\r\n            <div class=\"t_search_container\"><input id=\"d_search\" class=\"d_search_input\" name=\"keyword\" type=\"text\" /><input id=\"result\" name=\"type\" value=\"0\" type=\"hidden\" /></div>\r\n            <dl id=\"sample\" class=\"dropdown\">\r\n              <dt><a href=\"#\"><span>全站资源</span></a></dt>\r\n              <dd>\r\n                <ul> \r\n                <li><a href=\"#\">全站资源<span class=\"value\">0</span></a></li>\r\n                <li><a href=\"#\">网站设计<span class=\"value\">11</span></a></li>\r\n                <li><a href=\"#\">图片库<span class=\"value\">10</span></a></li>\r\n                <li><a href=\"#\">JS特效<span class=\"value\">13</span></a></li>\r\n                  <li><a href=\"#\">有趣的事<span class=\"value\">1</span></a></li>\r\n                </ul>\r\n              </dd>\r\n            </dl>\r\n          </div>\r\n          <div class=\"t_search_right\"><input class=\"t_button\" value=\"\" type=\"submit\" /></div>\r\n          </form>\r\n        </div>\r\n      </div>\r\n    </div>\r\n    <div class=\"tmlogin\">\r\n      <ul>\r\n      <li class=\"tcontact\"><a rel=\"nofollow\"  id=\"a15\" href=\"");
	templateBuilder.Append(linkurl("contact_sub",""));

	templateBuilder.Append("\">联系我们</a></li>\r\n      <li class=\"tlogin\"><a rel=\"nofollow\" href=\"#\">登录</a></li>\r\n      </ul>\r\n    </div>\r\n  </div>\r\n</div>\r\n\r\n<header>\r\n  <div class=\"i_menu\">\r\n    <div class=\"menu\">\r\n      <ul>\r\n   <li><a id=\"a0\"  href=\"/\" >鸿马首页</a></li>\r\n      <li><a id=\"a11\" href=\"");
	templateBuilder.Append(linkurl("design_list1",""));

	templateBuilder.Append("\">网站设计</a></li>\r\n       <li><a id=\"a14\" href=\"");
	templateBuilder.Append(linkurl("services",""));

	templateBuilder.Append("\">鸿马服务</a></li>\r\n      <li><a id=\"a13\" href=\"");
	templateBuilder.Append(linkurl("ajax_list1",""));

	templateBuilder.Append("\">JS特效</a></li>\r\n      <li><a id=\"a10\" href=\"");
	templateBuilder.Append(linkurl("photo_list1",""));

	templateBuilder.Append("\">图片库</a></li>\r\n      <li><a id=\"a1\" href=\"");
	templateBuilder.Append(linkurl("article_list1",""));

	templateBuilder.Append("\">有趣的事</a></li>\r\n\r\n\r\n </ul>\r\n    <script type=\"text/javascript\">\r\n        document.getElementById('a");
	templateBuilder.Append(channel_id);
	templateBuilder.Append("').className = 'active';\r\n    </");
	templateBuilder.Append("script>\r\n  \r\n    </div>\r\n    <div class=\"imenu_right\"><a href=\"");
	templateBuilder.Append(linkurl("content","about"));

	templateBuilder.Append("\">关于我们</a><a href=\"http://weibo.com/ihongma\"  target=\"_blank\">微博关注</a></div>\r\n  </div>\r\n</header>");


	  ihongma.Web.Plugin.Advert.BLL.advert_banner bbll = new ihongma.Web.Plugin.Advert.BLL.advert_banner();
	          DataTable dsbar = bbll.GetList(4,"is_lock=0 and datediff('d',start_time,now())>=0 and datediff('d',end_time,now())<=0 "," add_time desc").Tables[0];
	   

	templateBuilder.Append("\r\n<div class=\"inside\">\r\n  <div class=\"topsite\">\r\n    <div class=\"marquee_default mdl3\">\r\n      <div class=\"marquee_\">\r\n        <div class=marquee_img_vertical id=marquee_d137098e733>\r\n        \r\n          <div class=marquee_bg>\r\n            ");
	int bar1__loop__id=0;
	foreach(DataRow bar1 in dsbar.Rows)
	{
		bar1__loop__id++;


	templateBuilder.Append("\r\n            <div class=\"marquee_text hide\" id=marquee_");
	templateBuilder.Append(bar1__loop__id);
	templateBuilder.Append("_div>\r\n              <h2><a href=\"" + bar1["link_url"].ToString().Trim() + "\"><span>" + bar1["title"].ToString().Trim() + "</span></a></h2>\r\n              <p>" + bar1["content"].ToString().Trim() + "</p>\r\n            </div>  \r\n            ");
	}	//end loop


	templateBuilder.Append("          \r\n           \r\n            \r\n          </div>\r\n          \r\n          <ul class=marquee_content id=marquee_imgid_d137098e733>\r\n           ");
	int bar__loop__id=0;
	foreach(DataRow bar in dsbar.Rows)
	{
		bar__loop__id++;


	templateBuilder.Append("\r\n            <li class=marquee_images id=marquee_");
	templateBuilder.Append(bar__loop__id);
	templateBuilder.Append(" size=\"default\">\r\n              <div><a class=marquee_img href=\"" + bar["link_url"].ToString().Trim() + "\"><img alt=\"\" width=\"470px\" src=\"" + bar["file_path"].ToString().Trim() + "\" ></a></div>\r\n            </li>\r\n             ");
	}	//end loop


	templateBuilder.Append(" \r\n           \r\n          </ul>\r\n          \r\n        </div>\r\n        <div class=marquee_list_vertical>\r\n          <div class=vertical id=marquee_navid_d137098e733>\r\n            ");
	int bar2__loop__id=0;
	foreach(DataRow bar2 in dsbar.Rows)
	{
		bar2__loop__id++;


	templateBuilder.Append("\r\n            <a href=\"" + bar2["link_url"].ToString().Trim() + "\"><span class=\"marquee_thumb_vertical\"><span>" + bar2["title"].ToString().Trim() + "</span><img height=50 alt=\"\" src=\"" + bar2["file_path"].ToString().Trim() + "\" ></span></a>\r\n             ");
	}	//end loop


	templateBuilder.Append(" \r\n           \r\n          </div>\r\n        </div>\r\n      </div>\r\n     \r\n    <script src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/js/page.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n    \r\n    <script type=text/javascript src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/js/ihongma_p.js\"></");
	templateBuilder.Append("script>\r\n      <script type=text/javascript src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/js/jquery.cycle.js\"></");
	templateBuilder.Append("script>\r\n      <script type=text/javascript>          marqueeTextInit('marquee_1', 'vertical'); $j('#marquee_imgid_d137098e733').cycle({ timeout: 5000, fx: 'scrollDown', speed: 500, pager: '#marquee_navid_d137098e733', pagerEvent: 'click mouseenter mouseleave', pauseOnPagerHover: 1, enableCustom: true, imageParentId: '#marquee_d137098e733', imageParentIdHover: true, before: marqueeBeforeShow, after: marqueeAfterShow, prefix: 'marquee', delay: 0 });</");
	templateBuilder.Append("script> \r\n<!--     dasfdsa-->\r\n    </div>\r\n  </div>\r\n  <div class=\"content\" style=\"position:relative;\">\r\n   <ul class=\"guideDiv\" id=\"guideDivfirst\">\r\n      <p><a href=\"javascript:scrollToGuide('#guideDivsecond','.pag');\">下一步</a></p>\r\n      <span><a href=\"javascript:closeID('#guideDivfirst');\">关闭引导</a></span>\r\n    </ul>\r\n    <ul class=\"ihm_guide\" id=\"guideDiv_first\">\r\n      <div class=\"guide_go floatright\"><a href=\"javascript:scrollToGuide('#guideDivfirst','#guideDiv_first');\" title=\"立即体验\" />如何获得网站？立即体验</a></div>\r\n      <div class=\"tet floatleft\">鸿马是网站建设最好的来源，唯一的精心设计、海量js特效和精美图片。</div>\r\n      <div class=\"servicesNav floatleft\">\r\n        <ul>\r\n        <a class=\"btn1\" href=\"/services/show/strategy.aspx\">鸿马策划</a>\r\n        <a class=\"btn2\" href=\"/services/show/ue.aspx\">鸿马-用户体验</a>\r\n        <a class=\"btn3\" href=\"/services/show/design.aspx\">鸿马设计</a>\r\n        <a class=\"btn4\" href=\"/services/show/development.aspx\">鸿马开发</a>\r\n        <a class=\"btn5\" href=\"/services/show/marketing.aspx\">鸿马营销</a>\r\n        </ul>\r\n      </div>\r\n    </ul>\r\n      \r\n    <ul class=\"c_menu\">\r\n      <li class=\"all\"><a href=\"");
	templateBuilder.Append(linkurl("design_list1",""));

	templateBuilder.Append("\">所有网站</a></li>\r\n      <li class=\"new\"><a href=\"");
	templateBuilder.Append(linkurl("design_list1",""));

	templateBuilder.Append("\">最新设计</a></li>\r\n      <li class=\"tag\"><a class=\"od_button\" onClick=\"optag(this)\">标签检索</a></li>\r\n      <li class=\"search\" onMouseOver=\"osmc()\">\r\n        <div class=\"search_mc\"><input class=\"inputText\" id=\"text\" type=\"text\"  onblur=\"if (value ==''){value='请输入关键字'}\" onfocus=\"if (value =='请输入关键字'){value =''}\" value=\"请输入关键字\" value=\"请输入关键字\" name=\"\"/></div>\r\n        <div class=\"search_btn\"><input class=\"btnLogin\" border=\"0\" onclick=\"search()\" type=\"image\" src=\"");
	templateBuilder.Append(config.templateskin);
	templateBuilder.Append("/images/searchpic.gif\"/></div>     \r\n      </li>\r\n      <li class=\"color_mc\">\r\n        <div class=\"titlecolor\">按颜色浏览</div>\r\n        <div class=\"menucolor\">\r\n           <span  class=\"color red\"   rel=\"red\" >红色</span>\r\n          <span  class=\"color yellow\" rel=\"yellow\" >黄色</span>\r\n          <span  class=\"color green\" rel=\"green\" >绿色</span>\r\n          <span  class=\"color blue\" rel=\"blue\" >蓝色</span>\r\n          <span  class=\"color orange\" rel=\"orange\">橙色</span>\r\n          <span  class=\"color pink\" rel=\"pink\" >粉红</span>\r\n          <span  class=\"color gray\" rel=\"gray\" >银色</span>\r\n          <span  class=\"color white\" rel=\"white\" >白色</span>\r\n          <span  class=\"color brown\" rel=\"brown\" >棕色</span>\r\n          <span  class=\"color black\" rel=\"black\" >黑色</span>\r\n		</div>\r\n      </li>\r\n      <li class=\"tag_mc\">\r\n        <div class=\"close\"><a onClick=\"cltag(this)\">关闭标签检索</a></div>\r\n        <p class=\"tag_sub\" id=\"systemtag\">\r\n        \r\n        </p>\r\n      </li>\r\n    </ul>\r\n   \r\n    <ul class=\"c_listsites\" id=\"content\" >\r\n   \r\n     ");
	DataTable article_list5 = get_website_list(11,12, "");
	

	int adr5__loop__id=0;
	foreach(DataRow adr5 in article_list5.Rows)
	{
		adr5__loop__id++;


	    string locktex=adr5["state"].ToString()=="1"?"当前锁定状态，可以购买":"当前解锁状态";
	
	
	    string lockclass = adr5["state"].ToString() == "1" ? "lock" : "unlock";
	    

	templateBuilder.Append("\r\n      <li class=\"list_site\">\r\n        <div class=\"website\"><a href=\"");
	templateBuilder.Append(linkurl("design_show",adr5["id"].ToString().Trim()));

	templateBuilder.Append("\"><img src=\"" + adr5["img"].ToString().Trim() + "\" ></a></div>\r\n        <div class=\"info\"><a href=\"");
	templateBuilder.Append(linkurl("design_show",adr5["id"].ToString().Trim()));

	templateBuilder.Append("\"><span class=\"");
	templateBuilder.Append(lockclass);
	templateBuilder.Append("\"></span><p>");
	templateBuilder.Append(locktex);
	templateBuilder.Append("</p></a></div>\r\n        <div class=\"name\"><a href=\"");
	templateBuilder.Append(linkurl("design_show",adr5["id"].ToString().Trim()));

	templateBuilder.Append("\">" + adr5["name"].ToString().Trim() + "</a></div>\r\n        <div class=\"state\"><a class=\"");
	templateBuilder.Append(lockclass);
	templateBuilder.Append("\" title=\"");
	templateBuilder.Append(locktex);
	templateBuilder.Append("\">");
	templateBuilder.Append(locktex);
	templateBuilder.Append("</a></div>\r\n        <div class=\"tag\">标签: \r\n        \r\n        ");
	DataTable tag_list = get_tags_list("id in ("+adr5["tags"].ToString().Trim()+")");
	

	int tagr1__loop__id=0;
	foreach(DataRow tagr1 in tag_list.Rows)
	{
		tagr1__loop__id++;


	templateBuilder.Append(" <a href=\"");
	templateBuilder.Append(linkurl("design_list2",tagr1["id"].ToString().Trim(),1));

	templateBuilder.Append("\">" + tagr1["name"].ToString().Trim() + "</a>\r\n        \r\n        ");
	}	//end loop


	templateBuilder.Append("</div>\r\n      </li>\r\n      ");
	}	//end loop


	templateBuilder.Append("\r\n    </ul>\r\n    \r\n    <!---->\r\n    <div class=\"pag\" id=\"pager\">\r\n\r\n    \r\n    </div>\r\n    <!---->\r\n    \r\n  </div>\r\n  <div class=\"ajax_wrap\" style=\"position:relative;\">\r\n    <ul class=\"guideDiv\" id=\"guideDivsecond\">\r\n      <p><a href=\"javascript:scrollToGuide('#guideDivthird','.usual');\">下一步</a></p>\r\n      <span><a href=\"javascript:closeID('#guideDivsecond');\">关闭引导</a></span>\r\n    </ul>\r\n    <ul class=\"ajax_menu\">\r\n      <li class=\"js_all\"><a href=\"/ajax.aspx\">JS特效</a></li>\r\n      <li class=\"list_all\"><a href=\"/ajax_all.aspx\">全部分类</a></li>\r\n      <li class=\"important\"><a href=\"/ajax.aspx\">JS特效在网站中的重要性!</a></li>\r\n    </ul>\r\n    \r\n    <div class=\"usual\">\r\n      <ul class=\"idTabs\">\r\n           ");
	DataTable aj_list = newget_category_list(13,0);
	

	int ajax5__loop__id=0;
	foreach(DataRow ajax5 in aj_list.Rows)
	{
		ajax5__loop__id++;


	templateBuilder.Append("\r\n        <li><A href=\"#num_" + ajax5["title"].ToString().Trim() + "\">" + ajax5["title"].ToString().Trim() + "</A></li>\r\n        ");
	}	//end loop


	templateBuilder.Append("\r\n      </ul>\r\n       ");
	int zajax5__loop__id=0;
	foreach(DataRow zajax5 in aj_list.Rows)
	{
		zajax5__loop__id++;


	templateBuilder.Append("\r\n        <div id=\"num_" + zajax5["title"].ToString().Trim() + "\">\r\n        ");
	DataTable aj_lists = get_category_list(13, int.Parse(zajax5["id"].ToString().Trim()));
	

	int ajaxz__loop__id=0;
	foreach(DataRow ajaxz in aj_lists.Rows)
	{
		ajaxz__loop__id++;


	templateBuilder.Append("\r\n    <a href=\"");
	templateBuilder.Append(linkurl("ajax_list",ajaxz["id"].ToString().Trim(),1));

	templateBuilder.Append("\">" + ajaxz["title"].ToString().Trim() + "</a>\r\n          ");
	}	//end loop


	templateBuilder.Append("\r\n          </div>\r\n          ");
	}	//end loop


	templateBuilder.Append("\r\n    \r\n\r\n    </div>\r\n  </div>\r\n  <div class=\"pic_wrap\" style=\"position:relative;\">\r\n    <ul class=\"guideDiv\" id=\"guideDivthird\">\r\n      <p class=\"line_double\">建设中..<br><a href=\"/contact_sub.aspx#comment_form\" onClick=\"closeID('#guideDivthird');\" target=\"_blank\">联系我们</a></p>\r\n      <span><a href=\"javascript:closeID('#guideDivthird');\">关闭引导</a></span>\r\n    </ul>\r\n    <br>\r\n    <ul class=\"ajax_menu\">\r\n        <li  class=\"js_all\" >  <a  style=\"color:#D94650;\" href=\"");
	templateBuilder.Append(linkurl("photo_list1",""));

	templateBuilder.Append("\">\r\n                       图片库 \r\n                    </a></li> \r\n                     ");
	DataTable category_list = get_category_list(10, 0);
	

	int cdr__loop__id=0;
	foreach(DataRow cdr in category_list.Rows)
	{
		cdr__loop__id++;


	templateBuilder.Append("\r\n    <li class=\"list_all\">\r\n    \r\n      <a  href=\"");
	templateBuilder.Append(linkurl("photo_list",cdr["id"].ToString().Trim(),1));

	templateBuilder.Append("\" >" + cdr["title"].ToString().Trim() + "</a></li>\r\n    ");
	}	//end loop


	templateBuilder.Append("\r\n    \r\n    \r\n    </ul>\r\n    <div class=\"pic_w_mc\">      \r\n      <div class=\"scroll_button scroll_left\"><<</div>\r\n      <div class=\"scroll_button scroll_right\">>></div>\r\n      <div class=\"pic_w_mc_wrap\">\r\n        <div class=\"pic_w_mc_con\" style=\"width:1458px;\">\r\n          <ul>\r\n           ");
	DataTable photo_list6 = get_photo_list(10, 0, 18, "is_lock=0");
	

	int pdr6__loop__id=0;
	foreach(DataRow pdr6 in photo_list6.Rows)
	{
		pdr6__loop__id++;


	templateBuilder.Append("\r\n     <li><a href=\"");
	templateBuilder.Append(linkurl("photo_show",pdr6["id"].ToString().Trim()));

	templateBuilder.Append("\"><img src=\"" + pdr6["img_url"].ToString().Trim() + "\" width=\"65\" height=\"65\" alt=\"" + pdr6["title"].ToString().Trim() + "\" /><strong>" + pdr6["title"].ToString().Trim() + "</strong></a></li>\r\n     ");
	}	//end loop


	templateBuilder.Append("\r\n          \r\n          </ul>\r\n        </div>\r\n      </div>      \r\n    </div>\r\n  </div>\r\n  <div class=\"file_wrap\">\r\n   <ul class=\"ajax_menu\">\r\n        <li class=\"js_all\" ><a style=\"color:#D94650;\" href=\"");
	templateBuilder.Append(linkurl("article_list1",""));

	templateBuilder.Append("\" >\r\n                        有趣的事\r\n                    </a></li> \r\n                     ");
	DataTable category_list1 = get_category_list(1, 0);
	

	int cdr1__loop__id=0;
	foreach(DataRow cdr1 in category_list1.Rows)
	{
		cdr1__loop__id++;


	templateBuilder.Append("\r\n    <li class=\"list_all\">\r\n    \r\n      <a  href=\"");
	templateBuilder.Append(linkurl("article_list",cdr1["id"].ToString().Trim(),1));

	templateBuilder.Append("\" >" + cdr1["title"].ToString().Trim() + "</a></li>\r\n    ");
	}	//end loop


	templateBuilder.Append("\r\n    \r\n    \r\n    </ul>\r\n    <ul class=\"file_list\">\r\n     ");
	DataTable article_list = get_article_list(1, 0, 12, "");
	

	int adr4__loop__id=0;
	foreach(DataRow adr4 in article_list.Rows)
	{
		adr4__loop__id++;


	templateBuilder.Append("\r\n     <li>\r\n        <div><a href=\"");
	templateBuilder.Append(linkurl("article_show",adr4["id"].ToString().Trim()));

	templateBuilder.Append("\"><img  width=\"200px\" src=\"" + adr4["img_url"].ToString().Trim() + "\" /></a></div>\r\n        <h3><a href=\"");
	templateBuilder.Append(linkurl("article_show",adr4["id"].ToString().Trim()));

	templateBuilder.Append("\">");
	templateBuilder.Append(Utils.DropHTML(adr4["title"].ToString().Trim(),22));

	templateBuilder.Append(" </a></h3>\r\n        <p><a href=\"");
	templateBuilder.Append(linkurl("article_show",adr4["id"].ToString().Trim()));

	templateBuilder.Append("\">");
	templateBuilder.Append(Utils.DropHTML(adr4["content"].ToString().Trim(),89));

	templateBuilder.Append("</a></p>\r\n      </li>\r\n     \r\n     ");
	}	//end loop


	templateBuilder.Append("\r\n    \r\n    </ul>\r\n  </div>\r\n</div>\r\n\r\n");

	templateBuilder.Append("<footer>\r\n  <div class=\"footercenter\">\r\n    <div class=\"usfrid\">\r\n      <h4>访问我们的好友</h4>\r\n      <ul><a href=\"http://www.microsoft.com/\" target=\"_blank\" class=\"fr_1\">微软</a><a href=\"http://feixin.10086.cn/\" target=\"_blank\" class=\"fr_2\">飞信</a><a href=\"http://www.bjhqlc.com/\" target=\"_blank\" class=\"fr_3\">华强联创</a><a href=\"http://www.canyin.com/\" target=\"_blank\" class=\"fr_4\">中国餐饮网</a><a href=\"http://www.baidu.com/\" target=\"_blank\" class=\"fr_6\">百度</a><a href=\"http://www.csdn.net/\" target=\"_blank\" class=\"fr_5\">csdn</a></ul>\r\n    </div>\r\n    <div class=\"custom_footer\">\r\n      <ul><a href=\"http://www.ihongma.com/services.aspx\">鸿马服务</a><a href=\"http://www.ihongma.com/contact_sub.aspx\">联系我们</a><a href=\"http://www.ihongma.com/content/about.aspx\">关于我们</a></ul>\r\n      <p><a href=\"http://www.ihongma.com/contact_sub.aspx#comment_form\">提交订制信息</a></p>\r\n    </div>\r\n  </div>\r\n  <div class=\"f_copyright\">Copyright &copy; 2013, Ihongma Inc., CN. All Rights Reserved.京ICP备12052092号<a href=\"/sitemap.xml\">sitemap</a>\r\n  <script type=\"text/javascript\">\r\n                                                                                            var _bdhmProtocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");\r\n                                                                                            document.write(unescape(\"%3Cscript src='\" + _bdhmProtocol + \"hm.baidu.com/h.js%3F9ac1b1deb9e42bde31e827b7416d12bd' type='text/javascript'%3E%3C/script%3E\"));\r\n</");
	templateBuilder.Append("script>\r\n</div>\r\n</footer>");


	templateBuilder.Append("\r\n\r\n</body>\r\n</html>\r\n ");set_page_caceh("index", templateBuilder.ToString()); 

	Response.Write(templateBuilder.ToString());
}
</script>
